package com.cfswt.tasksystem.mapper;


import com.cfswt.tasksystem.pojo.entity.TaskCompleteSummary;
import com.cfswt.tasksystem.pojo.entity.TaskCoordinateSummary;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskCompleteSummaryMapper {
    int addTaskCompleteSummary(TaskCompleteSummary taskCompleteSummary);

    List<TaskCompleteSummary> selectCompleteSummariesByTaskId(Integer id);

    List<TaskCompleteSummary> selectCompleteSummariesByTaskIdAndWeekLabel(Integer taskId, Integer weekLabel);

    int updateTaskCompleteSummary(TaskCompleteSummary taskCompleteSummary);

    int selectCountTaskCompleteSummary(Integer id);

}
